package com.xzy.urp.service.impl;

import com.xzy.urp.pojo.entity.CourseInfo;
import com.xzy.urp.mapper.CourseInfoMapper;
import com.xzy.urp.pojo.vo.CourseInfoVO;
import com.xzy.urp.service.CourseInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xzy
 * @since 2022-02-17
 */
@Service
public class CourseInfoServiceImpl extends ServiceImpl<CourseInfoMapper, CourseInfo> implements CourseInfoService {

    @Override
    public List<CourseInfoVO> listSurplusBySemester(Integer semester) {
        return baseMapper.listSurplusBySemester(semester);
    }
}
